package org.example.project.bookstore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.bean.Alipay;
import org.example.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:AlipayService
 * @Date:2025/8/26 10:58
 */
@Service
public interface AlipayService  {
    /**
     * 付款
     * @param alipay
     * @return
     */
    String pay(Alipay alipay,String logisticsId);

    /**
     * 检查状态
     * @param orderId
     * @param logisticsId
     * @return
     */
    JsonResult query(String orderId, String logisticsId);
}
